package com.jinxin.platform.cdfaceacs.pojo.form;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * Date: 2021-04-23
 * Author: yangjie
 * desc:获取月份考勤记录
 **/
@Data
public class AppMonthForm {
    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date date;

    @NotBlank(message = "工号")
    private String workNo;
}
